import 'package:json_annotation/json_annotation.dart';

part 'recipe_product_api.g.dart';

@JsonSerializable()
class RecipeProductApi {
  final String? status;
  final String? pid;
  final String? model;
  final String? name;
  final String? tuyaPid;

  RecipeProductApi({
    this.status,
    this.pid,
    this.model,
    this.name,
    this.tuyaPid,
  });

  factory RecipeProductApi.fromJson(Map<String, dynamic> json) =>
      _$RecipeProductApiFromJson(json);

  Map<String, dynamic> toJson() => _$RecipeProductApiToJson(this);
}
